<%@ page language="java"  contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/tld/struts-html" prefix="html"%>
<%@ taglib uri="/WEB-INF/tld/struts-logic" prefix="logic"%>
<%@ taglib uri="/WEB-INF/tld/struts-tiles" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/tld/struts-nested" prefix="nested"%>
<%@ taglib uri="/WEB-INF/tld/jstl/c" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/jstl/fn" prefix="fn"%>
<%@ taglib uri="/WEB-INF/tld/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">  
<head>
</head>
<body> 
      
      
      <html:form action="/admin/popedom/popedomManageF.do?action=update">
      <table>
      <tr>
         <td>
           选择
         </td>
      </tr>
      
      
      <c:forEach items="${popedomManageFForm.popedomList}" var="popedomList" varStatus="popedomListSts">
      
      <c:if test="${popedomListSts.count%5==1}">
	      <tr>
	  </c:if>
	  
		      <td>
		         <c:if test="${popedomList.xuanze}">
		         <input  name="popedomList[${popedomListSts.index}].xuanze" type="checkbox"   checked="checked"/>
		         <input name="popedomList[${popedomListSts.index}].mkId" type="hidden" value="${popedomList.mkId}"/>
		         <input name="popedomList[${popedomListSts.index}].mingcheng" type="hidden" value="${popedomList.mingcheng}"/>
		         <input name="popedomList[${popedomListSts.index}].shanchu" type="hidden" value="${popedomList.shanchu}"/>
		         <input name="popedomList[${popedomListSts.index}].quanxian" type="hidden" value="${popedomList.quanxian}"/>
	             <input name="popedomList[${popedomListSts.index}].mkpx" type="hidden" value="${popedomList.mkpx}"/>
		         	         
		         <c:out value="${popedomList.mingcheng}"></c:out>
		         </c:if>
		         
		         <c:if test="${!popedomList.xuanze}">
		         <input  name="popedomList[${popedomListSts.index}].xuanze" type="checkbox" />
	             <input name="popedomList[${popedomListSts.index}].mkId" type="hidden" value="${popedomList.mkId}"/>
		         <input name="popedomList[${popedomListSts.index}].mingcheng" type="hidden" value="${popedomList.mingcheng}"/>
		         <input name="popedomList[${popedomListSts.index}].shanchu" type="hidden" value="${popedomList.shanchu}"/>
		         <input name="popedomList[${popedomListSts.index}].quanxian" type="hidden" value="${popedomList.quanxian}"/>
	             <input name="popedomList[${popedomListSts.index}].mkpx" type="hidden" value="${popedomList.mkpx}"/>
		         <c:out value="${popedomList.mingcheng}"></c:out>
		         </c:if>
		      </td>
		     
      
       <c:set var ="count" value="${popedomListSts.count}"/>
       
      </c:forEach>
      
       <c:if test="${count%5==1}">
          <td></td>
          <td></td>
          <td></td>
          <td></td>
        </tr>
       </c:if>
       <c:if test="${count%5==2}">
          <td></td>
          <td></td>
          <td></td>
        </tr>
       </c:if>
       
       <c:if test="${count%5==3}">
          <td></td>
          <td></td>
        </tr>
       </c:if>
       <c:if test="${count%5==4}">
          <td></td>
        </tr>
       </c:if>
       
       <c:if test="${count%5==0}">
        </tr>
       </c:if>
       
      
      <tr>
         <td align="center">
            <html:hidden property="adminName"></html:hidden>
       
       <html:submit value="提交"></html:submit>
         </td>
      </tr>
      
      </table>
      </html:form>
</body>
</html>